<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<span>阻止鼠标右键</span>
		<script type="text/javascript">
			document.oncontextmenu = function (){
				alert("已禁用鼠标右键");
				return false;
			}
		</script>
	</body>
</html>
